package com.soft.collateral.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 押品估值表
 * </p>
 *
 * @author liubin
 * @since 2025-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("valuation")
@ApiModel(value="Valuation对象", description="押品估值表")
public class Valuation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请流水号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "押品编号")
    @TableField("collateral_id")
    private Integer collateralId;

    @ApiModelProperty(value = "申请人")
    @TableField("applicant")
    private String applicant;

    @ApiModelProperty(value = "申请时间")
    @TableField("applicant_time")
    private LocalDateTime applicantTime;

    @ApiModelProperty(value = "审批人")
    @TableField("approval")
    private String approval;

    @ApiModelProperty(value = "审批状态")
    @TableField("approval_status")
    private Integer approvalStatus;

    @ApiModelProperty(value = "审批报告")
    @TableField("assess_id")
    private Integer assessId;

    @ApiModelProperty(value = "审批时间")
    @TableField("approval_time")
    private LocalDateTime approvalTime;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新时间")
    @TableField("updated_at")
    private LocalDateTime updatedAt;


}
